<html>
<head>
<title>shop.ets</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #808080;}
.s1 { color: #a9b7c6;}
.s2 { color: #bbb529;}
.s3 { color: #faa23d;}
.s4 { color: #e2da90;}
.s5 { color: #db7e9b;}
.s6 { color: #aa7dfc;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
shop.ets</font>
</center></td></tr></table>
<pre><span class="s0">/*商城*/</span>
<span class="s2">@</span><span class="s1">Entry</span>
<span class="s2">@</span><span class="s1">Component</span>
<span class="s1">export struct shop</span><span class="s3">{</span>
  <span class="s2">@</span><span class="s1">Consume</span>
  <span class="s1">stackPath</span><span class="s4">: </span><span class="s1">NavPathStack</span>
  <span class="s1">build</span><span class="s5">() </span><span class="s3">{</span>
    <span class="s1">Column</span><span class="s5">()</span><span class="s3">{</span>
      <span class="s1">Text</span><span class="s5">(</span><span class="s6">'add'</span><span class="s5">)</span><span class="s4">.</span><span class="s1">onClick</span><span class="s5">(()</span><span class="s4">=&gt;</span><span class="s3">{</span><span class="s1">this</span><span class="s4">.</span><span class="s1">stackPath</span><span class="s4">.</span><span class="s1">pushPathByName</span><span class="s5">(</span><span class="s6">'login'</span><span class="s4">,</span><span class="s1">undefined</span><span class="s5">)</span><span class="s3">}</span><span class="s5">)</span>
    <span class="s3">}</span>
  <span class="s3">}</span>
<span class="s3">}</span></pre>
</body>
</html>